#ifndef VCOLORSELECT_H
#define VCOLORSELECT_H

#include <QFrame>
#include <QString>

namespace Ui {
class VColorSelect;
}

class VColorSelect : public QFrame
{
    Q_OBJECT

public:
    explicit VColorSelect(QWidget *parent = 0);
    ~VColorSelect();

    QString _color;
    void set_color(QColor color);

signals:
    void signal_color_changed();

private slots:
    void on_pushButton_clicked();
    void on_btn_color_clicked();

private:
    Ui::VColorSelect *ui;

    QString makeColorString(const QColor &color, const QString type);
};

#endif // VCOLORSELECT_H
